TextToSpeechKt
Toggle table of contents
3.0
Select version
3.0
2.8
2.7
2.6
2.5
2.4
2.3
2.2
2.1
2.0
1.6
1.5
1.4
1.3
1.2
1.1
0.0
android
Platform filter
android
Switch theme
Search in API
TextToSpeechKt
tts
/
nl.marc_apps.tts.utils
/
[android]TtsProgressConverter
Tts
Progress
Converter
android
@
RequiresApi
(
value
=
15
)
class
TtsProgressConverter
(
val
onStart
:
(
Uuid
)
->
Unit
,
val
onComplete
:
(
Uuid
,
Result
<
Unit
>
)
->
Unit
)
:
UtteranceProgressListener
(
source
)
Members
Constructors
Tts
Progress
Converter
Link copied to clipboard
android
constructor
(
onStart
:
(
Uuid
)
->
Unit
,
onComplete
:
(
Uuid
,
Result
<
Unit
>
)
->
Unit
)
Properties
on
Complete
Link copied to clipboard
android
val
onComplete
:
(
Uuid
,
Result
<
Unit
>
)
->
Unit
on
Start
Link copied to clipboard
android
val
onStart
:
(
Uuid
)
->
Unit
Functions
on
Audio
Available
Link copied to clipboard
android
open
fun
onAudioAvailable
(
p0
:
String
,
p1
:
ByteArray
)
on
Begin
Synthesis
Link copied to clipboard
android
open
fun
onBeginSynthesis
(
p0
:
String
,
p1
:
Int
,
p2
:
Int
,
p3
:
Int
)
on
Done
Link copied to clipboard
android
open
override
fun
onDone
(
utteranceId
:
String
?
)
on
Error
Link copied to clipboard
android
open
override
fun
onError
(
utteranceId
:
String
?
)
open
override
fun
onError
(
utteranceId
:
String
?
,
errorCode
:
Int
)
on
Range
Start
Link copied to clipboard
android
open
fun
onRangeStart
(
p0
:
String
,
p1
:
Int
,
p2
:
Int
,
p3
:
Int
)
on
Start
Link copied to clipboard
android
open
override
fun
onStart
(
utteranceId
:
String
?
)
on
Stop
Link copied to clipboard
android
open
override
fun
onStop
(
utteranceId
:
String
?
,
interrupted
:
Boolean
)